import {createSlice} from "@reduxjs/toolkit";

const userStoreSlice = createSlice({
    name:"user",
    initialState:{
        name:"cc"
    },
    reducers:{
        changeName(state,action){
            state.name = action.payload
        }
    }
})




export default userStoreSlice.reducer
